package com.sc.study.foundation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sc.common.annotation.Excel;
import com.sc.common.core.domain.BaseEntity;

/**
 * 教室对象 sc_room
 * 
 * @author sc
 * @date 2022-02-28
 */
public class ScRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 容纳人数 */
    @Excel(name = "容纳人数")
    private Long clazzroomnum;

    /** 位置 */
    @Excel(name = "位置")
    private String clazzroomaddress;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClazzroomnum(Long clazzroomnum) 
    {
        this.clazzroomnum = clazzroomnum;
    }

    public Long getClazzroomnum() 
    {
        return clazzroomnum;
    }
    public void setClazzroomaddress(String clazzroomaddress) 
    {
        this.clazzroomaddress = clazzroomaddress;
    }

    public String getClazzroomaddress() 
    {
        return clazzroomaddress;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clazzroomnum", getClazzroomnum())
            .append("clazzroomaddress", getClazzroomaddress())
            .append("state", getState())
            .append("name", getName())
            .toString();
    }
}
